package com.huli.mapper;

import com.huli.pojo.SysDepartment;
import com.huli.vo.DepartmentVo;

import java.util.List;

public interface DepartmentMapper {

    // 根据部门Vo查询部门列表
    List<SysDepartment> DepartmentList(DepartmentVo departmentVo);

    // 根据id删除部门
    void deleteDepartment(Long id);

    // 添加部门
    void addDepartment(SysDepartment sysDepartment);

    // 更新部门
    void updateDepartment(SysDepartment sysDepartment);

    // 查询部门名称
    List<SysDepartment> queryDepartmentName();

// 根据id查询部门信息
    SysDepartment queryDepartmentById(Long id);
}
